package com.gang.music.core.task;

import com.gang.music.system.service.SongInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ResetTask {
	
	@Autowired
	private SongInfoService songInfoService;
	
	public void resetDayAmout() {
		
		System.out.println("执行resetDayAmout.....");
		songInfoService.resetDayAmout();
	}
	
	public void resetWeekAmout() {
		
		songInfoService.resetWeekAmout();
	}
	
	public void resetMonthAmout() {
		
		songInfoService.resetMonthAmout();
		
	}

}
